package com.goldman.http.common.s2s.model;


public class WebThreadContext {

    private static ThreadLocal<String> requestId = new ThreadLocal<>();

    public static String getRequestId() {
        String id = requestId.get();
        return id == null ? "" : id;
    }

    public static void setRequestId(String value) {
        requestId.set(value);
    }

    public static void clear() {
        requestId.remove();
    }

}
